package com.ziyun.erp.modules.userRegisterSource.dao;

import com.ziyun.erp.modules.userRegisterSource.entity.UserRegisterSourceEntity;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;

/**
 * 注册渠道来源
 * 
 * @author 'lu'
 * @email 
 * @date 2018-10-11 13:44:57
 */
public interface UserRegisterSourceDao extends BaseMapper<UserRegisterSourceEntity> {

	List<UserRegisterSourceEntity> selectSourceList(Pagination page , @Param("map") Map<String,Object> params);
	
	 void updateByMap(@Param("map") Map<String,Object> map, @Param("sourceId") String sourceId);
}
